package by.koleda.benicetobunnies.content;

import java.util.List;

import org.json.JSONException;
import org.json.JSONObject;

import by.koleda.benicetobunnies.helper.ParamCallback;
import by.koleda.benicetobunnies.model.Company;

public class CompaniesList extends ModelList<Company> {

	public CompaniesList(ParamCallback<List<Company>> paramCallback) {
		super(paramCallback);
	}

	@Override
	public Company createModel(JSONObject jsonObject) throws JSONException {
		return new Company(jsonObject);
	}
}
